package com.yfdice.android.bam;

import com.yfdice.android.bam.MoniterService.MoniterItem;

import android.os.Handler;

public interface IBAMService {
	public static final String TAG = "bam";
	public static final int s_msgEnableBluetooth = 0x1234;
	public static final int s_msgDisableBluetooth = 0x1235;
	
	public abstract int getMonitorCount();
	public abstract MoniterItem getMonitorItem(int nIndex);
	public abstract void removeMonitorItem(int nIndex);
	public abstract boolean addMonitorItem(DeviceItem item);
	
	public abstract int getSearchCount();
	public abstract DeviceItem getSearchItem(int nIndex);
	
	public abstract void addData(DeviceItem item);
    public abstract void deleteData(DeviceItem item);
    public abstract void updateData(DeviceItem item);
    
    public abstract Handler getActivityHandler();
    
    public abstract void setMainOp(IMainOperation op);
    public abstract IMainOperation getMainOp();
    
    public abstract void stopService();
    public abstract void susppendService();
    public abstract void resumeService();
    public abstract void notification(int msgType);
    public abstract void setNeedNotification();
};
